#include "game.h"
#include "raylib.h"

int main(int argc, const char **argv)
{

    const int screenWidth = 800;
    const int screenHeight = 480;

    InitWindow(screenWidth, screenHeight, "GAME");
    SetTargetFPS(120);

    Game *game = new Game();

    while (!WindowShouldClose())
    {
        BeginDrawing();
        ClearBackground(RAYWHITE);

        // DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY);

        game->Run();

        DrawFPS(10, 10);
        EndDrawing();
    }

    CloseWindow();
    delete game;

    return 0;
}